/*
    ********************
    实现post请求的处理
    ********************
*/


#ifndef HTTPPOSTPROCESSOR
#define HTTPPOSTPROCESSOR

#include "HTTPRelated.h"
#include "requestProcessor.h"


class postProcesssor : public requestProcessor {
public:
    postProcesssor();
    ~postProcesssor() override;
    void setClientSockfd(int new_fd) override;
    void setMessageBody(const std::string& body) override;
    llhttp_method getMethod() override;

    void run() override;
};

#endif